package com.woniuxy.springhibernatejpastudy.service;

import com.woniuxy.springhibernatejpastudy.entity.Post;

import java.util.List;

/**
 * @Author: linKe
 * @Date: 2022/1/13 9:54
 * @FileName: PostService
 * @version: 1.0
 * @Description: post的服务层
 */
public interface PostService {
    List<Post> findAll();

    Post save(Post post);

    Post findById(Long id);

}
